*,
*::before,
*::after {
  box-sizing: inherit;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto','Raleway', sans-serif;
  font-size: 0.9 em;
  font-weight: 400;
  overflow: hidden;
}

h4 {
  color: #155084;
  text-align: center;
}

.creation-panel {
  color:black;
  display: flex;
  flex-direction: row;
  height: 100%;
  background-color: #fff;
}

.customization-section {
  color:black;
  display: flex;
  flex-direction: row;
  height: 100%;
}

.state-panel {
  flex-grow: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.state-prop-grid {
  height: 300px;
  width: 500px;
  flex-grow: 1;
}

.HTMLItemCreate {
  flex-grow: 1;
  justify-content: center;
}
/*
///////////////////////////////////////////
Remove focus styling
/////////////////////////////////////////////
*/

:focus {
  outline: 0;
}

:disabled {
  cursor: not-allowed;
}

header {
  display: none;
}

.app-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

.mode-change-button {
  display: flex;
  align-content: center;
  padding-top: 50px;
}

.progress-bar {
  flex-grow: 1;
}

.column {
  background-color: #F9F9F9;
}

/*
/////////////////////////////////////////////////
LEFT COLUMN
/////////////////////////////////////////////////
*/

.left {
  padding: 10px 10px 10px 0px;
  display: flex;
  width: 225px;
  min-width: 225px;
  flex-direction: column;
  align-content: center;
  position: relative;
  overflow-x: hidden;
  /* box-shadow: 0 5px 7px 2px rgba(0, 0, 0, 0.4); */
}

.HTMLItems {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  flex-grow: 1;
}

#HTMLItemsTopHalf {
  height: 52vh;
  overflow-y: auto;
}

#CompBottomHalf{
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 50%;
}

.HTMLElements {
  margin: 0px 0px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
}

#HTMLItemsGrid {
  margin-left: 35px;
}

#HTMLItem {
  transition: 0.3s;
  border: 2px solid black;
  border-radius: 4px;
}

#HTMLItem:hover {
  background-color: #297ac2;
  color: white;
}

#submitButton {
  margin-left: 5px;
}

#submitButton:hover {
  background-color: #297ac2;
  color: white;
  border: none;
}

.lineDiv {
  width: 150%;
  margin-left: 0px;
}

.customForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  color: white;
  font-size: 95%;
}

.customForm h5 {
  text-align: center;
  font-size: 100%;
  font-weight: 700;
  width: 125%;
  margin-left: -5px;
}

.customForm input {
  align-self: center;
  margin: 10px 0px;
}

/* deleteAllInstances button in HTMLItem.tsx - 'x' attached to custom HTML element */
#newElement {
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: flex-end;
  align-self: flex-start;
  width: 0.5em;
}

/* span container in HTMLItem.tsx */
#customHTMLElement {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 125px;
}

.component-input {
  bottom: 2.8%;
}

.clear-workspace {
  top: 96%;
  position: sticky !important;
  z-index: 1;
}

/*
/////////////////////////////////////////////////
MAIN COLUMN
////////////////////////////////////////////////
*/

h1 {
  color: rgb(75, 75, 75);
}

.main-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 700px;
}

.main-header {
  background-color: #212121;
  box-shadow: 0 5px 7px -2px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.main-header-buttons {
  display: flex;
  font-size: 12px;
}

.main {
  background: #fff;
  flex: 1;
  width: 100%;
  overflow: auto;
  display: flex;
  background-color: #e4e4e4;
}

.draggable {
  position: relative;
}

.image {
  top: 0;
  left: 0;
  width: 100%;
  position: relative;
}

.image-container {
  position: relative;
  display: flex;
  top: 0;
  left: 0;
}

.export-preference div span {
  transition: color 1s, background-color 1.5s, transform 2s;
}

.export-preference div:hover {
  background-color: #303f9f;
}

.export-preference div:hover span {
  color: white;
}

.info {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ace_scrollbar {
  display: none;
}

.ace_print-margin {
  display: none;
}

/*
//////////////////////////////////////////////////
RIGHT COLUMN
/////////////////////////////////////////////////
*/

#rightContainer {
  overflow-y: scroll;
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
}

.right {
  padding-top: 0px;
  width: 100%;
  height: 100%;
}

.rightContainer {
  margin-top: 65px;
  color: black;
}

.rightPanelWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#addComponentButton {
  border: 2px black;
  border-radius: 4px;
}

#addComponentButton:hover {
  background-color: #297ac2;
  color: white;
  border: none;
  cursor: pointer;
}

#checkboxContainer {
  display: flex;
  justify-content: space-around;
  margin-left: -40px;
}

.export {
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.makeStyles-panelWrapperList-4::-webkit-scrollbar-track {
  background-color: rgba(25, 25, 25, 0.8);
}

.compPanelItem {
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  word-wrap: break-word;
}

.compPanelItem h3 {
  font-size: 1em;
  letter-spacing: 0.75px;
  padding: 5px 10px;
}

.compPanelItem:hover {
  cursor: pointer;
}

/* 
/////////////////////////////////////////////////////
BOTTOM PANEL 
/////////////////////////////////////////////////////
*/

.bottom-panel {
  transition: width 250ms ease-in-out;
  width: 100%;
  height: 100%;
  min-height: 25%;
}

.htmlattr {
  height: 80%;
  overflow-y: scroll;
  margin-left: 50px;
}

.props-container {
  margin-left: 10px;
  height: 33%;
  width: 100%;
}

.props-input {
  margin-bottom: 15px;
}

.chips {
  height: 55%;
  overflow: auto;
}

.flex-container {
  display: flex;
  flex-direction: row;
  padding-top: 5px;
}

.flex1 {
  padding: 10px 20px 10px 5px;
}

.flex2 {
  padding-right: 10px;
  padding-left: 10px;
  border: rgb(68, 68, 68) solid 1px;
  border-radius: 5px;
  background-color: 252526;
}

/*
//////////////////////////////////////////
NAVBAR
//////////////////////////////////////////
*/

#navbarButton {
  color: white;
  margin: 0px 5px 0px 5px;
}

#customized-menu {
  width: 16%;
}

/* 
/////////////////////////////////////////////////
ANNOTATIONS
/////////////////////////////////////////////////
*/

.annotate-button-empty {
  float: right;
  background-color: #3ec1ac;
  border-radius: 15px;
  font-size: 14px;
  color: rgb(32, 32, 32)
}

.annotate-button-filled {
  float: right;
  border-radius: 15px;
  font-size: 13px;
}

.annotate-position {
  display: flex;
  flex-direction: column;
  position: fixed;
  align-items:flex-start;
  top: 30%;
  left: 30%;

}

.annotate-textarea {
  width: 600px;
  height: 300px;
  resize: none;
  white-space: pre-line;
  font-size: 18px;
  border: 3px;
  border-style: solid;
  border-color: black;
  border-radius: 0px 0px 15px 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.annotate-textarea-header {
  font-size: 35px;
  background-color: #003366;
  color: rgb(241, 240, 240);
  width: 600px;
  border: 3px;
  border-style: solid;
  border-color: black;
  font-family: 'Open Sans', sans-serif;
  border-radius: 15px 15px 0px 0px;
}

.annotate-textarea-footer {
  background-color: #4772c7;
  color: rgb(107, 93, 93);
  width: 600px;
  border: 2px;
  border-style: solid;
  border-color: black;
}

.annotate-textarea-savebutton {
  float: right;
  width: 150px;
  height: 30px;
  font-size: 20px;
  margin: 2.5px 2.5px;
}

/* Material-UI */

/* Sortable tree sorting */
.sortable-tree {
  height: 100%;
  background-color: rgb(37, 37, 38);
}

div.rst__rowContents {
  width: 45px;
  border: none;
  color: #eee;
  background-color: #333333;
}

.rst__rowContentsDragDisabled {
  background-color: #333333;
  background-color: rgba(37, 37, 38, 0.4);
}

.rst__moveHandle,
.rst__loadingHandle {
  width: 40px;
}

.rst_tree {
  overflow: auto;
}

.rst__rowLabel {
  padding-right: 5px;
}

.closeIcon:hover {
  cursor: pointer;
}

a.nav_link {
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  text-decoration: none;
}
a.nav_link:hover {
  color: #3ec1ac;
  text-decoration: underline;
}

/* Additional styling for ReacType X */

.componentDefault {
  width: 100%;
  border: 2px solid gray;
  min-height: 150px;
  padding: 10px;
  background-color: lightgray;
  opacity: 0.75;
}

.inputName {
  margin-bottom: 35px;
  text-align: center;
}

.oauth-bttn:hover {
  background-color: #4e76c7;
}

/* .MuiTypography-body1 {
  background-color: oldlace;
} */




.text-editor .bttn{
  position: absolute;
  bottom: 90px;
  right: 30px ;
  z-index: 999;
}
